package com.ktjiaoyu.mapper;

import com.ktjiaoyu.entity.SysRole;

import java.util.List;

public interface SysRoleMapper {
    public List<SysRole> getAll();

    public SysRole findById(Long id);

    public SysRole getByCode(String code);

    public int insert(SysRole sysRole);

    public int update(SysRole sysRole);

    public int delete(Long id);
}
